#pragma once

#include "..\Scene.h"

#include "..\SceneNode.h"

class VertexShader
{
	public:
		VertexShader();
		~VertexShader();

		HRESULT OnRestore(Scene *pScene);
		HRESULT SetupRender(Scene *pScene, SceneNode *pNode);
		void EnableLights(bool enableLights) { m_enableLights = enableLights; }

	protected:
		ID3D11InputLayout*          m_pVertexLayout11;
		ID3D11VertexShader*         m_pVertexShader;
		ID3D11Buffer*               m_pcbVSMatrices;
		ID3D11Buffer*               m_pcbVSLighting;
		ID3D11Buffer*               m_pcbVSMaterial;
		bool						m_enableLights;
};